﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace NTmdb.TestProject
{
    /// <summary>
    ///     This is a test class for TmdbCrewCreditTest and is intended
    ///     to contain all TmdbCrewCreditTest Unit Tests
    /// </summary>
    [TestClass]
    public class TmdbCrewCreditTest
    {
        /// <summary>
        ///     A test for TmdbCrewCredit Constructor
        /// </summary>
        [TestMethod]
        public void TmdbCrewCreditConstructorTest()
        {
            var target = new TmdbCrewCredit();
            Assert.IsNotNull( target );
        }

        /// <summary>
        ///     A test for Department
        /// </summary>
        [TestMethod]
        public void DepartmentTest()
        {
            var target = new TmdbCrewCredit();
            string expected = Guid.NewGuid().ToString();
            string actual;
            target.Department = expected;
            actual = target.Department;
            Assert.AreEqual( expected, actual );
        }

        /// <summary>
        ///     A test for Job
        /// </summary>
        [TestMethod]
        public void JobTest()
        {
            var target = new TmdbCrewCredit();
            string expected = Guid.NewGuid().ToString();
            string actual;
            target.Job = expected;
            actual = target.Job;
            Assert.AreEqual( expected, actual );
        }

        /// <summary>
        ///     A test for Serialize & Deserialize
        /// </summary>
        [TestMethod]
        public void SerializeDeserializeTest()
        {
            Assert.Inconclusive();
        }
    }
}